package com.csu.mall.ware.feign;


import com.csu.mall.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("gateway")
public interface GatewayFeignService {
    //走网关
    @RequestMapping("/api/info/{skuId}")
    public R info(@PathVariable("skuId") Long skuId);
}
